package com.pzhu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @TableName hotel
 */

@Data
@TableName(value = "hotel")
@AllArgsConstructor
@NoArgsConstructor
public class Hotel implements Serializable {
    /**
     * id
     */
    @TableId(type = IdType.AUTO)
    private Integer hotelId;

    /**
     * 酒店名
     */
    private String hotelName;


    /**
     * 介绍
     */
    private String hotelIntroduce;
    /**
     * 价格
     */
    private BigDecimal hotelPraise;
    /**
     * /**
     * 电话
     */
    private String hotelTel;

    /**
     * 地址
     */
    private String hotelAddress;

    /**
     * 图片
     */
    private byte[] hotelImg;

    /**
     * 商家id
     */
    private Integer hotelBusinessId;

    /**
     * 删除
     */
    private Integer hotelDel;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


}
